<div class="blade-content __large-wide ng-scope" id="blade-content">
  <div class="blade-inner">
    <div class="inner-block">
      <form name="form" class="form" (submit)="saveChange()" [formGroup]="formGroup" enctype="multipart/form-data" novalidate>
        <div class="form-group">
          <label class="form-label">报警声音上传</label>
          <div class="form-input">
            <input id="soundName" name="soundName" type="text" placeholder="文件名称" autocomplete="off" formControlName="soundName">
          </div>
          <div *ngIf="formErrors.soundName" class="form-error">
            {{ formErrors.soundName }}
          </div>
        </div>
        <div class="form-group">
            <p-fileUpload  [ngClass]="{'fileUpload-edit':!soundfile}"  name="file" (onSelect)="onUpload($event)" (onRemove)="onRemove($event)" cancelLabel="取消" chooseLabel="选择上传声音"
            accept="audio/*" customUpload="true" ></p-fileUpload>
        </div>
      </form>
    </div>
  </div>
</div>